package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="t_category_menu")
@Data
public class CategoryMenu implements Serializable{

	@Id
	private String uid;//唯一uid



	private String name;//菜单名称
	private Integer menu_level;//菜单级别
	private String summary;//简介
	private String parent_uid;//父uid
	private String url;//url地址
	private String icon;//图标
	private Integer sort;//排序字段，越大越靠前
	private Integer status;//状态
	private Date create_time;//创建时间
	private Date update_time;//更新时间
	private Integer is_show;//是否显示 1:是 0:否
	private Integer menu_type;//菜单类型 0: 菜单   1: 按钮


}
